<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
?>
<!--//current -->
<div class="form-login"  style="background-color:width; width: 220px; margin-left: -20px; padding-left: 50px; border: 4px solid #C4E9E3;">
	<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'login-form',
			'enableClientValidation'=>true,
			'clientOptions'=>array(
					'validateOnSubmit'=>true,
			),
)); ?>
		<div class="row">
			<?php echo '<h4 align="center" style="padding-right: 14px;">Login</h4><br/>'; ?>
			
		</div>
		<div class="row">
			<?php echo $form->labelEx($model,'username'); ?>
			<?php echo $form->textField($model,'username'); ?>
		</div>

		<div class="row" id="password">
			<?php echo $form->labelEx($model,'password'); ?>
			<?php echo $form->passwordField($model,'password'); ?>
		</div>
		<div class="row" align="center" style="padding-right: 18px;">
			<?php
			$this->widget('zii.widgets.jui.CJuiButton', array(
					'buttonType' => 'submit',
					'name' => 'btnSubmit',
					'value' => '1',
					'caption' => '   Entrar   ',
					'htmlOptions' => array('class' => 'form-login.button', 'width'=>'100%'),
                )); ?>
		</div>
		<br />
		<div class="row rememberMe">
			<?php echo $form->checkBox($model,'rememberMe'); ?>
			<?php echo $form->label($model,'rememberMe'); ?>
		</div>
			<br />
	<div class="row" align="center" style="padding-right: 14px;">
	<?php echo CHtml::link('Esqueci minha Senha',array('recovery/recovery')); ?>
	</div>
	<?php $this->endWidget(); ?>
</div>
<!-- form -->
